package nl.hu.modellingengine.grid.client;

import nl.hu.modellingengine.client.ClientFactory;
import nl.hu.modellingengine.grid.client.activity.GridActivityMapper;

import com.google.gwt.activity.shared.ActivityManager;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.google.gwt.user.client.ui.RootPanel;

public class Grid {
	
	public Grid(RootPanel containerPanel,ClientFactory clientFactory){
		EventBus eventBus = clientFactory.getEventBus();
		GridFactory gridFactory = GWT.create(GridFactory.class);
		
		ActivityMapper activityMapper = new GridActivityMapper(clientFactory,gridFactory);
		ActivityManager activityManager = new ActivityManager(activityMapper,eventBus);	

	}

}
